﻿///
/// Authors: Lee Gary 
///
/// Date: 24/09/2010
///
/// Purpose: 
///
/// Constants?
/// 
/// Future:
/// 1.) Removal of unused constants? 
/// 2.) Might need them when using Object Model instead of Web services, although web services 
///     are the preferred way to do migration due to security
/// 
namespace GSPMigratorCore.Misc
{
    public class GSPConstants
    {
        public const string DATDelimiter = "\\";
        public const char URLDelimiter = '/';
        public const string NEWLineDelimiter = "\r\n";
        
        public class NetworkDrive1601
        {
            public class Permissions
            {
                public const string AllowModify = "Modify";
                public const string AllowReadAndExecute = "ReadAndExecute";
                public const string AllowFullControl = "FullControl";
            }
        }

        public class ImagePath
        {
            //public const string GenericFile = "../../Images/ICGEN.ICO";
            //public const string Folder = "../../Images/FOLDER.ICO";
            //public const string DocumentLibrary = "../../Images/DOCLIB.ICO";
            //public const string SPSite = "../../Images/SITE.ICO";
            //public const string FileServer = "../../Images/MYCOM.ICO";

            public const string GenericFile = "Images/ICGEN.ICO";
            public const string Folder = "Images/FOLDER.ICO";
            public const string DocumentLibrary = "Images/DOCLIB.ICO";
            public const string SPSite = "Images/SITE.ICO";
            public const string FileServer = "Images/MYCOM.ICO";
        }

        public class ImagePathIndex
        {
            public const int GenericFileIndex = 0;
            public const int FolderIndex = 1;
            public const int DocumentLibraryIndex = 2;
            public const int SPSiteIndex = 3;
            public const int FileServerIndex = 4;
        }

        public class TreeView
        {
            public static readonly string[] TreeViewDelimiter = { "::" };           
            public const string LazyLoadedChild = "*";
            public const string ReservedFileNameSuffix = "__FILE";
        }
    }
}
